
<template>
  <div class="content">
    <SlideMenu></SlideMenu>
    <keep-alive max="10">
      <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"
                 class="view"
                 id="view"></router-view>
  </div>
</template>
<script>
import SlideMenu from "./SlideMenu.vue";

export default {
  components: {
    SlideMenu,
  },
};
</script>